import request from '@/utils/request'

export function IntegrityTestList(data) { //分页查询
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/page',
        method: 'post',
        data
    })
}
export function IntegrityTestEdit(data) { //编辑
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/table/edit',
        method: 'post',
        data
    })
}
export function IntegrityTestDetails(id) { //单条查询
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/'+id,
        method: 'get',
    })
}
export function IntegrityTestSubmit(id) { //考试-提交
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/submit/'+id,
        method: 'get',
    })
}

export function IntegrityMarkingList(data) { //分页查询
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/marking/page',
        method: 'post',
        data
    })
}

export function IntegrityMarkingDetails(id,companyId) { //阅卷 - 单条查询
    return request({
        url: '/maintenance-management/api/integrityMaintenanceExamination/marking/'+id+'/'+companyId,
        method: 'get',
    })
}